package com.moleq.device.printer;

import java.util.ArrayList;
import java.util.List;

public class PrinterBufferColumnColection {
	private List<PrinterBufferColumn> columns = new ArrayList<PrinterBufferColumn>();

	public void add(PrinterBufferColumn obj) {
		columns.add(obj);
	}

	public void clear() {
		columns.clear();
	}

	public PrinterBufferColumn Find(Object key) {

		return null;
	}

	public boolean contains(Object key) {

		return false;
	}
	
	public int count(){
		return columns.size();
	}

	public PrinterBufferColumn get(int location) {
		if (columns != null && columns.size()>location) {
			return columns.get(location);
		}
		return null;
	}
}
